package com.qijian.maindata.domain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author gw
 */
@Data
public class ProjectProcessDto {

    private Long projectId;

    private List<ProjectProcessDetail> processDetails;

    private ProjectProcessDetail currentProcess;

    @Data
    @NoArgsConstructor
    public static class ProjectProcessDetail {
        private Long processId;
        private String processName;
        private String processType;
        private String processTypeName;
        private Integer uncompletedCount;
        private Integer completedCount;
        private Integer allCount;
        private Integer bomLevel;
        private Integer bomSort;
        private Integer processSort;

        public ProjectProcessDetail(String processName) {
            this.processName = processName;
        }
    }
}
